package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.pojo.Goods;
import com.cskaoyan.bean.pojo.GoodsAttribute;
import com.cskaoyan.bean.pojo.GoodsProduct;
import com.cskaoyan.bean.pojo.GoodsSpecification;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @program:
 * @description:
 * @author: Qian Jin
 * @create: 2021-07-10
 * @detail:
 **/

@NoArgsConstructor
@Data
public class GoodsDetailVo {

    private Integer[] categoryIds;
    private Goods goods;
    private List<GoodsAttribute> attributes;
    private List<GoodsSpecification> specifications;
    private List<GoodsProduct> products;

//
//    @NoArgsConstructor
//    @Data
//    public static class SpecificationsDTO {
//        private Integer id;
//        private Integer goodsId;
//        private String specification;
//        private String value;
//        private String picUrl;
//        private String addTime;
//        private String updateTime;
//        private Boolean deleted;
//    }
//
//    @NoArgsConstructor
//    @Data
//    public static class ProductsDTO {
//        private Integer id;
//        private Integer goodsId;
//        private List<String> specifications;
//        private Integer price;
//        private Integer number;
//        private String url;
//        private String addTime;
//        private String updateTime;
//        private Boolean deleted;
//    }
}
